package change;

import method.PaymentMethod;
import method.imp.MailMethod;
import transaction.Transaction;

public class ChangeMailMethodTransaction extends ChangeMethod {
    private MailMethod mailMethod;
    public ChangeMailMethodTransaction(int empId, String email) {
        super(empId);
        mailMethod = new MailMethod(email);
    }

    @Override
    public PaymentMethod getPaymentMethod() {
        return mailMethod;
    }
}
